Skip to content

Conversation

@Liamolucko
Copy link
Contributor

Fixes #2289

The API is still a draft, so perhaps this should be behind --cfg=web_sys_unstable_apis? I've just put it in stable for now.

I had to add a `Constructor` attribute to `ResizeObserver`, since the new constructor syntax isn't supported yet (wasm-bindgen#1952).
@alexcrichton
Copy link
Contributor

Thanks for this! If the API is still in draft state though can you add this to the unstable directory?

@alexcrichton
Copy link
Contributor

Gonna try to kick CI

@alexcrichton
Copy link
Contributor

Hm ok well this looks good to me so I'll see what happens to CI on merge.

@alexcrichton alexcrichton merged commit e447729 into wasm-bindgen:master Oct 20, 2021
@Liamolucko Liamolucko deleted the resize-observer branch November 18, 2021 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ResizeObserver in web-sys

2 participants